package com.examsystem.pojo.vo;

import com.examsystem.pojo.Score;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author Administrator
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ScoreVo implements Serializable {
    private static final long serialVersionUID = -1;

    private int studentId;
    private String studentName;
    private String studentClass;
    private int classId;
    private double studentScore;
    private int studentPaper;


    private double averageMark;


    public ScoreVo(int studentId, String studentName, String studentClass, double studentScore, int studentPaper) {
        this.studentId = studentId;
        this.studentName = studentName;
        this.studentClass = studentClass;
        this.studentScore = studentScore;
        this.studentPaper = studentPaper;
    }
}
